home *** CD-ROM | disk | FTP | other *** search
- Path: maya.dei.unipd.it!nairobi
- From: andsk@nuanda.dei.unipd.it (Andrea Rafreider)
- Newsgroups: comp.sys.amiga.networking
- Subject: Re: Slirp
- Date: Sun, 11 Feb 96 14:09:41
- Organization: Kame House
- Message-ID: <19960211.147A48.CF00@nuanda.dei.unipd.it>
- References: <4fiuh7$lca@goofy.BrandonU.CA>
- Reply-To: andsk@maya.dei.unipd.it
- NNTP-Posting-Host: marina.dei.unipd.it
- X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
-
- menon@beijing.brandonu.ca wrote:
- :
- : Can anyone help me with slirp.
- :
- : I have the Slirp server IP, the DNS IPs and my IP
- :
- : Now when I configure AmiTCP, Where should I put these? And should I put a
- : Dynamic address or not? I know on startup, I am supposed to use
- : the IP given as my IP, so that is not the problem.
- :
- : Perhaps I am getting the same problem as when I used mlink, it would not
- : start because it was sending a bad data packet on initialization. But
- : at least then I had some response from my unix account coming back to my
- : Amiga, so I knew they were communicating. With Slirp, I get nothing.
-
- So, now that I'm at home I can give more help with some example configuration
- files..
-
- **** AmiTCP:bin/startnet follows ****
-
- .key IPADDRESS
- .bra {
- .ket }
- .def IPADDRESS 10.0.2.15
-
- ; log in
- echo
- echo login: misterx
- AmiTCP:bin/login -f misterx
- AmiTCP:bin/umask 022
-
- AmiTCP:AmiTCP
- WaitForPort AMITCP
-
- ; Configure loop-back device
- AmiTCP:bin/ifconfig lo0 localhost
-
- ; Assure that ENV:Sana2 exists
- if not exists ENV:Sana2
- makedir ENV:Sana2
- endif
-
- ; Create cslip0 configuration file
- echo "serial.device 0 38400 0.0.0.0 MTU=1500 7WIRE " >ENV:Sana2/cslip0.config
-
- ; Configure cslip0
- AmiTCP:bin/ifconfig cslip0 {IPADDRESS} 10.0.2.2
-
- ; Add IP address entry for this host
- rx "address AMITCP; 'ADD HOST {IPADDRESS} amiga.your.domain. '"
-
- ; Add route to this host
- AmiTCP:bin/route add {IPADDRESS} localhost
-
- ; Add route to the default gateway
- AmiTCP:bin/route add default 10.0.2.2
-
- setenv HOSTNAME `AmiTCP:bin/hostname`
- setenv HOST $HOSTNAME
-
- Assign TCP: Exists > NIL:
- IF Warn
- Mount TCP: from AmiTCP:devs/Inet-Mountlist
- EndIf
-
- ; Start the internet `super server'
- run AmiTCP:bin/inetd
-
- ; Start the Mail Daemon
- IF EXISTS AmiTCP:serv/SMTPd
- run <>nil: AmiTCP:serv/SMTPd
- ENDIF
-
- **** AmiTCP:db/resolv.conf ****
-
- ;Domain Names
- DOMAIN your.domain
-
- ;Name Server
- NAMESERVER 10.0.2.3
-
- Of course you should change "your.domain" "amiga.your.domain"
- and "misterx" respectively with your domain, your full host name
- and your login name on your amiga.
-
- Do *not* change 10.0.2.15, 10.0.2.2, 10.0.2.3 as they are slirp aliases
- for your IP address, default gateway and name server.
-
-
- : I type slirp -b 14400 on my unix machine, in case this is the problem.
-
- This shouldn't be a problem as long as the baud rate at which you
- connect to your unix machine is 14400.
-
- : Thanks in advance,
- : Vivek A. Menon
-
- I hope this helps you to get connected! I've been using slirp for quite
- a while now, and it's really great!
-
- Good luck!
-
- Andrea.
-
-
-
-
- --------------------------------------------------------------------------
- Andrea Rafreider
- Male Student at Electronic Engineering University of Padua, Italy
- E-Mail: andsk@maya.dei.unipd.it
- --------------------------------------------------------------------------
-